/*
 * BSM6.0
 *
 * Copyright 2012-2013 (C) SINODATA CO., LTD. All Rights Reserved.
 */
package com.sinodata.bsm.cicp.util.pool;

import java.util.Map;

import javax.management.remote.JMXServiceURL;
import javax.management.remote.rmi.RMIConnector;

/**
 * <p>
 * Description: JMX连接
 * [TIP]:目的: 增加一个是否有效的属性 
 * </p>
 *
 * @author wangyazhou
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2012-10-26 上午9:17:43          wangyazhou        1.0         To create
 * </p>
 *
 * @since    
 * @see     
 */
public class BSMJMXConnector extends RMIConnector {

    private boolean valid;

    private static final long serialVersionUID = 5099650839944781756L;

    public BSMJMXConnector(JMXServiceURL url, Map<String, ?> environment) {
        super(url, environment);
    }

    public boolean isValid() {
        return valid;
    }

    public void setValid(boolean valid) {
        this.valid = valid;
    }

}
